package com.dadie.dorm.service.impl;

import com.dadie.dorm.dao.IUserDao;
import com.dadie.dorm.dao.impl.UserDaoImpl;
import com.dadie.dorm.pojo.User;
import com.dadie.dorm.service.IUserService;

public class UserServiceImpl implements IUserService {
    private IUserDao userDao = new UserDaoImpl();
    @Override
    public User login(String name, String password) {
        return userDao.login(name,password);
    }
}
